package cn.service;

import entity.Brand;
import entity.Result;

import java.util.List;

public interface BrandService {
    Result queryAllBrand(Integer currentPage,Integer pageSize);
    void updateIs_show(Integer brand_id,Integer is_show);
    void updateIs_manufacturer(Integer brand_id,Integer is_manufacturer);
    Result deleteBrandByBrand_id(List<Integer> brandLists);
    Result queryBrandByBrand_name(String brand_name);
    Result addBrand(Brand brand);
    Brand queryBrandByBrand_nameReturnObj(String brand_name);
    Result deleteByPrimaryKey(Integer brand_id);
    Result selectByPrimaryKey(Integer brand_id);
    Result updateBrand(Brand brand);
}
